package com.azt.provider.impl;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.azt.api.model.Pagination;
import com.azt.api.service.PaginationService;
import com.github.pagehelper.Page;
@Service
@Transactional
public class PaginationServiceImpl implements PaginationService{
	public Pagination getPaginationList(Page<Object> startPage, List<?> selectList) {
		Pagination p = new Pagination(startPage, selectList);
		p.setList(selectList);
		return p;
	}
}
